#ifndef CTRLMOUSE_H
#define CTRLMOUSE_H

#include <QObject>

#define SCMD_LEFT_BUTTON    0x01
#define SCMD_RIGHT_BUTTON   0x02
#define SCMD_MID_BUTTON     0x03

#define MOUSE_DOWN  0x01
#define MOUSE_MOVE  0x02
#define MOUSE_UP    0x03

class ctrlMouse : public QObject
{
    Q_OBJECT
public:
    explicit ctrlMouse(QObject *parent = 0);
    void activeLeftButton();
    void activeRightButton();
    void activeMidButton();
    
signals:
    
public slots:
    void slotCtrlMouse(QByteArray byteArray);

private:
    int x;
    int y;
    int s;
};

#endif // CTRLMOUSE_H
